package io.jpress.module.article.controller.api;

import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject;
import io.jboot.web.controller.annotation.RequestMapping;
import io.jpress.web.base.ApiControllerBase;


@RequestMapping("/api/Test")
public class TestJpressapi extends ApiControllerBase {

    public void index(){
        JSONObject mjson = new JSONObject();
        mjson.put("user", "少许");
        mjson.put("age", 20);
        renderJson(mjson);
    }

}
